better handling of dummy latent variables in lav_predict_* functions