Fix ajax rendering in Task index.