Fix issue when deleting manual rules because of previous deletion of enabled rules column