One incorrect use of g_ptr_array_index instead of l_ptr_array_index in mysql_session_create_backend_for_hostgroup()