Fix bug in 1123959ede1d2046038eb13b927e16364abba46f (render_stage called for both workflows and analyses)