Fix #733

Probably there is a best option to fix this bug.
I'm not expert on Javascript.
summary records would be already separated from records array, so this line would not be a correct one.