fixed an issue where tasks weren't showing as complete on first page load.