Prevented concurrent modification exceptions that would occasionally occur