Catch XPathTypeMismachExceptions in progress bar updating

FB134648: CommCare/CloudCare Crashes with no error if you have incorrect repeat count path