Replace < and > with compare to work with strings.