Fix overflowing in intersection_intermediates.remove_if
#1209
+47
−1
intersection_intermediates.remove_if
#1209