Optimised the author based graph queries similar to previous optimisations