Yeah, it might be better to use an LM311 comparator in that circuit but it might oscillate at the zero crossings.
A TL071 opamp would also work pretty well, wouldn't oscillate, wouldn't need a pull-up resistor on its output, is a little cheaper and slews almost the speed of an LM311 comparator...