Fixed Null pointer expection on collection update
Merge pull request #262 from sheebans/master

Fixed Null pointer expection on collection update