Fix #9464

Cross environment collisions were being improperly detected