You cant swap in an HC for an LS, because that is TTL vs CMOS, they have very different logic level High and Low thresholds.
And yes, I checked for that, although its been a very long time, I can check again as if I recall, I dont know if I was the one who changed the IC.