Fixed memory access bug in log file for Mixed covariates.