Fixes a crash when a task model in a list doesn't actually exist