Simplified repetitive unequal checks
Simplified repetitive unequal checks

Quantifiedcode correctly pointed out that this code could be shortened
without losing much readability.

webmaster128/clcache,webmaster128/clcache,webmaster128/clcache