Updated to not break with missing selectorText.