Fixed table locking.