Fix cloudant-related issues for sms workflows