Fix bug where filter_fields ended up as string if the user only selected one