Fix evaluation of Max