Bug fix: predict did not work for db.Rquery plus dummy variables