Reverted back to 8.4 postgres driver (9.3 gives exception on serial datatype)
Fixed a bug with a null pointer exception