Fix : correct the where clause with the right larger / smaller sign