Added initialized modifiedQ variable for non-void constructors.