[BUGFIX] wrap condition around f:for to check if there is any element to...

... create