Fixed an assertion (relying on an undocumented feature which apparently was changed.)