Refactor filters and sorters detection in FQB, now based on attribute
type