Add st_isvalid(geom).

Change the liquibase section. Added st_isvalid(geom). 
The problem by doing this though is we're getting rid of the problem on the display, but not at the source. And we're not keeping any track of it. I don't think this is safe !

The current geoserver layer :
http://geoserver-rc.aodn.org.au/geoserver/imos/wms?service=WMS&version=1.1.0&request=GetMap&layers=imos:soop_asf_mt_trajectory_map&styles=&bbox=-180.0,-69.1348342895508,180.0,1.27849805355072&width=1687&height=330&srs=EPSG:4326&format=application/openlayers

has definitely a few geom problems. But since all my geometries are created with the same function everyone else uses, I imagine maybe there's a problem with it.