Bugfix: Show only relevant writing info.

Do not show a warning message for blocks that are irelevant
(contain unknown info "---") for writing.