Issue #44 fix apply to 1.0 branch

Applying fix for issue #44 dealing with maxId on loaded collection