Bug in Demo Todo app in Ember guide


In demo todo app in ember guide, Getting Started

I discovered that if i modify the first todo with empty string, and it run deleteRecord.
And the bug is: todos length become 1 only instead of 2. And I can’t modify and delete the next todo.

How to fix it?