Don't taint numeric refList ids

This caused query updates to not find the doc IDs in the pointerList and
insert duplicate results (from updateDocProperty)