'Scan' request parsing fixed

Fixes bug 1271170