fix Source iteration over selections when tokens_with_position is True