Fixed a bug of dynamic question fetching where the routine would return less than 30 rows.