Issue #3386201 by bluegeek9: Entity queries must explicitly set whether the query should be access checked or not
Closes #3386201