Optimizing task list performance and fix service type id bug.