Comparison against string instead of object