Use ST_MakeValid to allow for self-intersecting polygons