Fixed missing initialization of new member variable

This is a fix for #1508