Fixed problem where more than two covariates were being ignored