Move a misplaced assert.

Fixes	#1478