Fix is_unique & is_locked on install