You could write:
<xf:group ref="if (exists(/Item/hourType)) then . else ()">
Don't use the relevant attribute on <xf:group>, as it won't have any effect. And we often write the above as follows, which is a bit shorter, but arguable not as clear:
<xf:group ref=".[exists(/Item/hourType)]">
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet