NING-13267: Identified a dumb bug in the caching of subscriptions by topic.  Tried to modify a list while iterating over it.  Fixed that bug and added a test to verify it.