maxId fix for sissbruecker's issue #44

collection.maxId was not being restored properly in from
serialized/saved database