Intermediate fix for locking and case sensitive databases