Fix for locking issues in redmine/6334

Why the double slash ?