test-ui: Don't remove items from the view when remove fails

https://bugzilla.gnome.org/show_bug.cgi?id=724308
core: Fix typo in remove vfunc declaration