Change conditional to allow NAs in addition to positive values