Fix NRE when equating dash styles