Bug fix to handle correctly when there is an error on getting polygon for folio. (return the $q.reject)