Use another workaround for scanning.
PR: kern/197143 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>