Fixed two errors that prevented editobjectsmanually from working