Fix filter_by_position