corrects a bug when removing a row used to always remove the last object in the result list in devmine.js