Added Session query cache for TaskType