correcting agg types; adding check before subkey removal during interval crossing init