Fixed CloudnameLock bug on locks starting with the same name.