Check to see if lag is within lag_flag range