added handling for all one factor type that iis disrupted by NAs and an NA of length one