Fix key splitting

Previously, a key like ‘timezones.Solomon Is.’ would be split into
[‘timezones’, ‘Solomon Is’] (notice the missing trailing period).