This isn't going to work for collections as their versions have a dot.  I didn't consider this when I wrote the test cases in #190.  I'm creating another test case for this: #191