Make sure we don't crash when nothing is selected in any of the edit tools.