Fixing bug in mailout report