Fixed a bug in pgtbl_intern_prune. Tested and worked.