lteq here changes logic from returning first match to last match.  Use lt or !lteq(minF, fx) or somesuch.