Properly handle scope even when not recording