Fixed a bug in a Jade template