Fix data-static-html-hidden condition for permits.