Modified statement to handle new 2.2 enum in db.