Allow filtering for message type through command

Since null and "" are synonymous in Go, this assumes a command: "" to be
invalid.