Fixed hasPending returning false when an action was outstanding