fix str2num filter to handle Decimals