Non-spatial table bug, SRID fixes

Fixes #65