refs #31: add template conditional for empty results set