Fixed a bug in expression library where MAX functions where incorrectly processed as POW