Bug fix: method totalSumOfDatasetRow was going through both errorCallback and successCallback even when 'n' was bigger than length of dataset.
Bug fix: method totalSumOfDatasetRow was going through both errorCallback and successCallback even when 'n' was bigger than length of dataset.

FilipeDominguesGit/psidi-rest-api,FilipeDominguesGit/psidi-rest-api