Fixed an invalid argument error when viewing a the submissions table

Warning: Invalid argument supplied for foreach() in (...)/wp-content/plugins/ninja-forms/classes/subs-cpt.php on line 274