Fix rebinding undefined collections

Extension of #791. 

The test is kind of icky, maybe it would be better to directly assert `unbindCollection` is called?

@SoapyIllusions @nickjs