removed opportunities for double-checked locking bugs
missed case + methods
corrected the order
merge SytzeH: removed opportunities for double-checked locking bugs

Merge pull request #1462 from SytzeH/sql-layer/doubleCheckedBug
https://github.com/FoundationDB/sql-layer/pull/1462