Fix crash in web when doing evaluation.