Fixed incorrect assertion; saving a duplicate shouldn't increment count