Added problem filtering to teacher UI