Fixed bug where Gecko would throw an exception when editors where removed.