BUG 414550: Fix an obviously wrong assert
Weirdly enough, this code has been here for 13 years, so I guess it never got executed...