Bug 964285 - guard against selecting non-item elements in richgrid. r=mbrubeck