Improves check of arg range