Fixed issue where fireTypeRemovedEvent and fireTypeAddedEvent was
checking if listeners.isEmpty when it should have been checking if
!listeners.isEmpty.