Move up check for EC_R_INCOMPATIBLE_OBJECTS and for the point at infinity case