Fix #101. Fix a problem when accessing node properties inside transaction for queries