fix for: TypeError: coercing to Unicode: need string or buffer, IPv4Address found
Merge pull request #835 from andrzej-jankowski/autoscan_fix

Scan - fix for autoscan