Refactor hole filter into list comprehension.