Updated logic in islandora_object_lock_length module to avoid a potential warning.