Fixed parsing non-standard DECIMAL during min() and max().

DECIMAL() and DECIMAL(10,3) are not the same - but the type matches.