add unless clause to group.average on admin page

#580 

fixed admin page bug. 
minor change, will let Travis run specs