Fix request handing bug in handleGetResults.js