Fixed problem where some documents wouldn't have events extracted
properly