Fixed issue on SQL expand() without any target
Transactions now cache reads too. This prevent to have multiple instances inside the same tx of read records