Fixed bug in thymeleaf rendering.