Replace ifequal/ifnotequal by if in django templates