Fixes update mode collections bug.

Fixes #19:

Collections would not correctly update using the serializer in the following situations:

* Removing an item from the collection
* Adding a new item to the collection