ancestor queries are allowed in transations