Default to 1 if invalid number was used