fix filesort on last(None)