Tightened error checks before evaluation