Issue was due spaces(for example, “a,b,c,d,…” instead of “a, b, c, d,…”) used in the “Letters in alphabetic index” option, which is placed in Settings >> Glossary Index Page >> Alphabetic index section. Updated this and it worked.
Thanks for the support provided via email. Much appreciated.