don't lock more records if we already own one.
Merge branch 'master' of https://github.com/qbex/Cubex