removing superfluous list comprehension in get_exposed_fields