Seems or is not working in mako templates, fixinf by adding another if statement (uggly).