Fix variable name in the check for number of tries to get deferred results