Fix Issue 1286.

Error in check for Ellipse type caused EllipseMapObject in lieu of
RectangleMapObject.