Minor: don't take into account warnings out of range