Query customers shouldn't emit messages with count=0. Fixes #697