Got Fixed, As there were some external dependencies in my project which were of no use. I removed them and updated the existing ones to latest version. Now query params are working as expected