Hi Bhavish,
On which Junos you are checking the output? This problem has been fixed in PR/1218134
[KUDOS PLEASE! If you think I earned it!
If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]
//Regards
AD