Fix empty-plugin check when using a fieldsets setting.