boolean and non numeric fields searche fix