Fixes bugs in Shapefile class related to psql_options.