This fixes #7920.  It now forces these to be ints, and Active it forces to be 0 or 1, only.