Fix notices in the Import/Export screen and during import process

Latest Ninja Forms throw notices/warnings on the Import/Export screen and when I try to import a new form with no fields.

Issues happen with latest Forms and latest WP from trunk.

Suggested fix is in the pull request, feel free to give feedback.