fix duplicate result return by one-to-many order-by