Do not show footer if there is no data for showing.

Fix for issue #46