Fix #79. Do not lookup agents when destroyed.