Handle case where concept in query view is non-existent

Fix #701.

Signed-off-by: Don Naegely <naegelyd@gmail.com>
I have no strong opinion and I've looked around a bit and we are doing one-liners elsewhere. I will change it.