I'm working on a model of relationships where a Profile has Preferences and Preferences have Filters, some of these Filters can be required or not, based on that I want to filter and bring the results of the filters, a requirement is always to try to...