Remove 'is' comparison

Replaced an 'is' comparison with an '==' comparison. Also removed an unnecessary &nbsp;