Fixed bug where the first map returned from readFieldsFromFolder would be empty