[JRO] Reduce some queries