Transports/Fragments: Fixing dangerous erase inside for loop.