Fixed logic error in testing updating to an unsaved list.