modifying implementation if relationship filters in the ui