Ignore query strings in internal links checker (fixes #197)