Check for finished operations in order to increments the `numberOfFinishedOperations` count
Merge pull request #911 from runmad/master

Check for finished operations, not cancelled operations to increment the numberOfFinishedOperations count