renamed system method to isSystemGroup and fixed a bug when retrieving non system groups