Fix line_has_sign() again