Fix bad use of uid_catalog in template