[matrix] fix integer data editing

Authored by sgerlach on Nov 13 2018, 11:23 PM.