Fix formatblock removing blockformating when only class removal is required
compile