Fixed problem with registered query parameters