Fixed bug when comparing covered_flats.size to highest_flat