Fix incorrect sequence packet errors to be catchable

fixes #867