fixed bug in queryEntityConnectionsAsync and queryEntityConnectionsWithinLocationAsync