Clear the selection before we remove the nodes.  Refs #2848

Change-Id: I55d8ed2abbcdbe7ecbe6248806744278af1831ec