set comment planid filter when a plan is selected