I have noticed that sometimes the results from ST_Distance for geometry types do not correspond correctly to those for geography types. For example:
SELECT ST