Fixing `completed` state in details template