Fix incorrect lock level taken