Fix get_by_id in server instance