Cleanup: simplify checks for integers between 2 and 4.