For all those who are facing the same problem. I had raised a PMR for this problem and have got a reply informing that this would get patched in 8.5.3. Below given is IBM's reply.
"This issue was reported in R8.5.2 and its regression introduced as it was working fine in earlier releases i.e. R8.5.1 .Regression sometime occurs because of the changes in the source code to fix the issues or to incorporate enhancement request
It is regression however I can see the latest SPR status and the SPR has been fixed in 8.5.3. "