Implemented the filtering of questions per factor