fix(remote-sync) fix query and allow filter by desk
fix(remote-sync) fix query and allow filter by desk

(cherry picked from commit 8a0ed4b)

superdesk/superdesk-aap,superdesk/superdesk-aap,mdhaman/superdesk-aap,mdhaman/superdesk-aap,mdhaman/superdesk-aap,mdhaman/superdesk-aap,superdesk/superdesk-aap,superdesk/superdesk-aap