Restore modified in __setstate__ to fix unpickling

Version 1.0.2