Made DBSession.openReadLock, openWriteLock use List instead of Vector