Fixing bug when empty expression is the input for the evaluator