PR commit for adding support for degree 1 curves

Move that assertion at the beginning of this block, right after the `else`.