Removed an unneeded assert.

The assert referred to a member variable, that was removed in one
of the earlier changes. It thus led to a compilation error, when compiling
in debug mode.