Fixing bug when showing items in the list show page