Add workaround for jqgrid bug