Minor fix for number of rows to display and some ajax adjustments