:bug: Fix broken scope when there's no active operation

Closes #4