Hyperlink to Case not working on Custom Entity

Hi Guys,

I created a custom entity using the Advanced Customization Wizard. I selected the option "Has Cases" so the Case Grid was created in the Lists tab. The case grid has the Hyperlink to Case set but when the list gets populated the href looks like this...

/crm/eware.dll/Do?SID=25697564640973&Act=281&Mode=1&CLk=T&Key0=58&Key1=1226&Key8=71&Key58=1&truc_TruckID=1&F=Truck/TruckCase.asp&J=Truck/TruckCase.asp&Case_CaseId=71&Key-1=58&PrevCustomURL=/crm/CustomPages/Truck/TruckCase.asp?SID=25697564640973%26Key0=58%26Key1=1226%26Key58=1%26J=Truck/TruckCase.asp%26F=Truck/TruckCase.asp%26E=cases%26truc_TruckID=1%26T=Truck%26Capt=Cases&HiddenRowCount=1&NextID=72&GridID=226

So when I click on the hyperlink it just refreshes the list instead of taking me to the case. If I use F12 in Chrome to update the href and set Key0=1 the hyperlink works as expected. Anyone ever had this issue and if so how did you fix it? Thanks

BTW, this is in 7.3