This commit should be replaced with something that will look nicer once merged.
```php
// A queue of items is needed to remove DOMNodes from a DOMNodeList as you're 
// iterating over them in a foreach loop
```