Fixed bug that was preventing queries from obeying transaction and consistency