[PATCH 05/09] MMSD: Fix issue if there is an empty string in encoded text