Broken records cause reports generation to fail, close #1074