group voter bugfix
queries optimization