MODE-2173 Fixed the checking of READ permissions for nodes retrieved from queries.