Fix DATABASECHANGELOG/LOCK re-creation.

When running as SYSTEM user, the LQB table checks were always considered
as system objects, thus leading to a new creation attempt, bound to fail.