Unbind the previous collection if rebinding to an undefined one
Add regression test
Merge pull request #822 from batmanjs/fix-rebinding-undefined-collections

Fix rebinding undefined collections