Links to expired and future contracts are not working

There is ContractOverview form. When I display all it shows all contracts (like it should be).

But If I open expired contract, it open empty form, not form ContractDetails.

What to do ?