Fixed bug on tasks page where only one (the last) task would be rendered.