Completed tasks disappear from current list after ajax call