Bug fix for avg().
Bug fix for avg().

loretoparisi/pattern,aoom/pattern,pombredanne/pattern,piskvorky/pattern,EricSchles/pattern,loretoparisi/pattern,aoom/pattern,shubhangiKishore/pattern,Sri0405/pattern,pombredanne/pattern,rebeling/pattern,NTesla/pattern,shuangsong/pattern,rebeling/pattern,EricSchles/pattern,sfprime/pattern,sfprime/pattern,NTesla/pattern,arne-cl/pattern,pattern3/pattern,elkingtonmcb/pattern,piskvorky/pattern,dongguangming/pattern,bijandhakal/pattern,hayd/pattern,jatinmistry13/pattern,jatinmistry13/pattern,soycode/pattern,elkingtonmcb/pattern,rebeling/pattern,RitwikGupta/pattern,clips/pattern,shuangsong/pattern,Sri0405/pattern,Sri0405/pattern,sfprime/pattern,codeaudit/pattern-1,z0by/pattern,dongguangming/pattern,sfprime/pattern,soycode/pattern,EricSchles/pattern,clips/pattern,elkingtonmcb/pattern,abcht/pattern,codeaudit/pattern-1,pattern3/pattern,NTesla/pattern,shuangsong/pattern,bijandhakal/pattern,EricSchles/pattern,woiddei/pattern,RitwikGupta/pattern,elkingtonmcb/pattern,codeaudit/pattern-1,RitwikGupta/pattern,shubhangiKishore/pattern,hayd/pattern,RitwikGupta/pattern,loretoparisi/pattern,z0by/pattern,abcht/pattern,jatinmistry13/pattern,ashhher3/pattern,z0by/pattern,ashhher3/pattern,woiddei/pattern,z0by/pattern,clips/pattern,Sri0405/pattern,pombredanne/pattern,dongguangming/pattern,pombredanne/pattern,codeaudit/pattern-1,soycode/pattern,bijandhakal/pattern,dongguangming/pattern,NTesla/pattern,woiddei/pattern,loretoparisi/pattern,shuangsong/pattern,bijandhakal/pattern,arne-cl/pattern,rebeling/pattern,jatinmistry13/pattern,ashhher3/pattern,aoom/pattern,ashhher3/pattern,woiddei/pattern,arne-cl/pattern,textioHQ/pattern,abcht/pattern,aoom/pattern,hayd/pattern,piskvorky/pattern,pattern3/pattern,abcht/pattern,soycode/pattern,shubhangiKishore/pattern,arne-cl/pattern