FIX: append query to url if existent to query collections

did not send query. Appended to url in ajax function of dpd.