Fixes a small bug inside requestScan