Minor fix for xhr logic in adminTab