Corrected the case number from being added to the collection of locked cases before the lock was actually obtained.