Meta server: convert const_iterator to iterator to make erase() compile with gcc.