Replace a filter with a list comprehension.
Style nits.