Remove query processing logic specific to HT* numbers

Fixes #140

See http://staging.api.lobid.org/resource/TT002234003