Fixing bug in base report