This functions just wraps `list(filter` calls to avoid copypaste