Fixing a bug with sub editing.