Fixed XML max_recs (=> max_records) problem