Issue: 2100955 - Removed intval comparison as it doesn't work consistently between 32 and 64 bit machines.