Changed pattern to prevent 'max(' from being translated to 'mamttx('.