Updates param check to allow zero (0).