[FIX] handle allowed actions in database-compare properly