The camera test shows that the sensor is working. If it's flashing, it's ranging.
The interrupt is active low, so going low indicates it's got a range that meets your ranging conditions.
You are using the Pololu code which I'm not really good at, but I can guess.
Place the .startRangeing() call OUTSIDE your loop.
And don't stop it until you want to shut the system off. So take the stopRanging() out of your loop.
Once the sensor is running, it will stay running until you stop it.
Continually starting the senor will goof everything up.
It may well be that you get one interrupt that is outside your window.
So for every interrupt read the range to double check, then just go back to sleep.
If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.