Looks like you should be throwing an exception here. Right now it just eats it up, so an empty scan is ok?