Fixed SQL links in admintools