Added some logging so we can debug why the ConcurrentModificationException is happening