Fix get-by-id and allowed for fetching single entity.