Fix errornous assertion introduced in e8aa2c7309fd93d85955ed68023c8fd416b69c49