[DBClientAction] Simplify building a condition for deleting actions