Fix bug with filtering UUID in scan.