fixed dispatcher failover when max results not specified
Merge pull request #357 from ionutrazvanionita/master

fixed dispatcher failover when max results not specified