Fixed the AJAX in group selector