Guard against nil node replacement results

I introduced a bug in #81 causing `SyntaxHighlightFilter` to explode if a node replacement returns `nil`. This PR guards against it.