Added and tested relationship filter