Fixed a bug that a setting link was inserted in the plugin listing table even when no sub page is added.