Fix for cannot read property 'isImmutable' of null, fix #62

Fix for `( null ).isImmutable` will throws an error in condition.