Fix bug when using both a filter and a sort when displaying propositions