Improved logic for valid number aspect ranges