Fixed proper yield block add new prepared query for query cache.