Bug 1043261 - [Vertical Homescreen] Unable to delete invalid grid object

https://bugzilla.mozilla.org/show_bug.cgi?id=1043261
nit: if (