The < and > are on the same key on my keyboard, so I think that's what causing the issue. It works if I use the , key though.
I didn't know some keyboards were like that. I'll definitely look into things like that in the future to find work arounds. Thanks!