ConcurrentModificationException from Instructor Search page #2541

As title, fix concurrent issue when trying to modifying key set for hash map while traversing