Fixed query error in install.