Add support for cn-cat-in query var.

closes gh-251