Exit early if quantities are not enabled. #2125