Defend against undefined filter.