comparation expression can not be saved when properties of model is not flat