Fixed how ng-tables are refreshed.