Fix “Invalid predicate” error on DOMXPath::query
Fix “Invalid predicate” error on DOMXPath::query

Sometime the query predication failed with:

```
PHP Warning:  DOMXPath::query(): Invalid predicate
```

The `@` remove the warning and we’ve added an extra check about what `query` returns.

j0k3r/graby,aaa2000/graby