*Problem*
The image node displays default "Image" and "Alpha" sockets instead of the right ones for EXR layers that are set to appear on a different frame than the first one.
*Solution*
When acquiring the layers for detecting sockets it was always getting them from the first frame instead of the current one. It was done like this because the ImageUser might not be updated yet.
I'm trying to fix both issues by checking the ImageUser "ok" flag and fallback to first frame in case ImageUser is in a bad state, otherwise we must use the current ImageUser with current frame to support layers that appear beyond frame 1.