Prevent foreach error

When the specified field group did not exist, foreach ran into an error since field_group was not an array. A check has been added to prevent this so that it simply returns an empty array in this case.

You can reproduce this error in earlier versions by calling simple_fields_fieldgroup() with a non-existant field group id or slug.