#983 deactivation warning

Resolves #983.