Fixes a ghost messages issue where the queue cursor goes out of sync /w the leveldb store when transactions are being used.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490065 13f79535-47bb-0310-9956-ffa450edef68