allow default query when no query specified
fix bug when no assignees are listed