nsq_to_nsq: clean up structure of shouldPassMessage()