Removed extraneous string comparison