Remove groups list from initial sql