Closes #3354784 The issue was with accessCheck condition on entityQuery. I have made the changes and tested the functionality in D10. Please review the same