remove inner seq class from empty collections