null integrity violation handled + grid-sort-action fix