Fixed mistake with <if> tags