Save time when filtering. Skip useless checks (and useless variable).