Since LM358 are design for single supply with PNP inputs, they sense to Vee very well. So move Current sensor to Gnd and it will work but not very well as a linear device but for logic levels, simply choose the threshold with some 10% hysteresis.
I would suggest 50~100mV drop @ Imax and then choose threshold for logic level desired. Or use an RRIO OP Amp.
simulate this circuit – Schematic created using CircuitLab