Was there definitely a table selected that ticket?
You know preview is of loast submitted ticket.
And that because you have changed template to specidificly list table rather than use the entities section it will show the static text even if no table selected.
If you want to do it that way but not show line if no table wrap the whole live with square brackets. [ ]