fixed and improved filter option for getAllIdeas