WSG Filter Slow

When I run the following call it takes too long to complete it will run for 5+ minutes and errors out with a Request Failed.

/pw_wsg/document?filter=RelativeDirectory+eq+'d1710419'.

Any thoughts?