Minor templating fix

This might well only apply in Django 1.4, but I was seeing a double-wrapping in <ul class="object-tools">. This patch should fix that issue.