Fixed integer validation issue.