refs endpoint should only return non-list on exact match