Avoid stack overflow when capturing the change listener