BS-1510: fix expression evaluation on (not-yet) completed activity instances (in the case of long-lasting ON_FINISH connectors)