Fix bioseg function name.
Make range query tests work with any version of Postgres, with or without bioseg.
bioseg index is faster if locatedonidid removed.