Hi Prachi,
I don't see anything that's clearly incorrect about the expression you've placed on the forms.
I think my first suggestion would be to add a form to your module quickly that just displays the output of each one of those variables and runs the expression inside of the form to ensure that the data looks correct as a quick double-check, or potentially add each one of those variables to the Case Detail screen you see before the module is shown.
If the variables are showing up correctly in the case detail or form and the expression isn't behaving as expected, I'd submit a ticket on CommCareHQ since the support team could review the data more directly.
-Clayton