Replace deprecated task parameters on stats pages

Change-Id: Ib66f5dffc9ec93f634845174dab64d271ed4f17c
Merge "Replace deprecated task parameters on stats pages"