Fixed an issue where we were comparing a class using a string as a prefix instead of just doing a straight class comparison.