Changed equality check

Should be using a strict equals to make sure the ID is exactly the same.