ID 245769 - Keyframes added to Switch note are not correctly time-mapped

Follow

Problem summary
If you set up a Switch Node leading to a TimeOffset, leading to the Viewer node, apply a time offset, and then set a keyframe on the Switch node, the location of the underlying keyframe on the Switch node should be corrected, such that that TimeOffset node brings it in line with the current play head location. This appears not to be happening, although it should happen on all nodes (a good comparison example is Dissolve).
 
Customer reported version
nuke.10.0v4
 
Customer reported platform
10.11
 
Steps to reproduce
1. Paste the code from the comment below into Nuke
2. Open the Dope Sheet
3. Place the play head at frame 20
4. Set a keyframe on Switch1 at frame 20
5. Observe that the keyframe shows up at frame 25 (should be 20) in the Dope Sheet, but if you disable TimeOffset1, it shifts to frame 20 (should be 15)
6. Connect TimeOffset1's input to Dissolve1, and re-enable TimeOffset1
7. Set a keyframe on Dissolve1 at frame 20
8. Observe that the keyframe shows up at frame 20 (correct) in the Dope Sheet, but if you disable TimeOffset1, it shifts to frame 15 (correct)
 
Workaround
Unknown.
 
Reproduced by support
Reproduced on OSX 10.11.3 Nuke10.0v4
Bug logged by devs
 
Expected behaviour
expecting keyframes to behave like dissolve node
 
Actual behaviour
keyframes mapped to incorrect frames
 
 

    We're sorry to hear that

    Please tell us why