ISPN-5104 Infinite loop in TransactionAwareCloseableIterator when

iterating through cache

* Fixed issue where entry was repeated if added to context after
* starting a transaction

https://issues.jboss.org/browse/ISPN-5104