--Spring analytics Modification.
--optimized the queryset retrieval a bit.