Fixed checkForDeals / checkForCallbacks function - hopefully!