dont try to load relations if there are no entities in the resultset