Added bounds check to util.c/pdb_add_table(), added ERROR_TS_OUT_OF_RANGE error code 4