[chore] remove enum missing values check from query generator