Guard against empty keys array in fold point finder