Fixed code style issues introduced by improvements to renderViews method (issue #449).