Detail view: Fix case where view all link referenced wrong details object