Fix Bug 3663: Wrong assert statement causing test failure.