Fix a bug where automation worked (except when it didn't)