Remove an extrenous call to list()
Mae the conditional easier to follow