[FIXED JENKINS-16526] Excessive work done in rendering.

See [JENKINS-16526](https://issues.jenkins-ci.org/browse/JENKINS-16526).