fixed bug where an empty non null selection could crash query
fixed #47. If no new campaigns are available it will still set the current campaign to remote