Fix pagination nav creation outside of table.

Currently we check to see if the nav's parent is another table element, however, we don't take into account the possibility that the nav does not have a table as a parent.  The way we currently check, it makes the creation of paging navs impossible outside of the context of the FooTable.

This commit provides a simple fix.