Added function filter to propositionsController