Fixed bug that caused data to be replicated if less than 200 rows.