initialize members of struct (esp. the bool) to avoid problems with serialisation
Merge pull request #4638 from apfeiffer1/ap-fixUninitialisedStruct

Initialize members of struct to avoid problems with serialization.