fixed filtering to work with numeric properties