Removed useless assert.