Detail view shows a proper id