Implemented ignoring of selection being set to the empty string.