Changed equality check

Make it set to a strict equals so there is no room for error.