Fix for 'maxrecords' key (related commit: d0cd3e365f98a9df1d1d1d328ed93052a5e0ba68)