Bug fix to editing custom block types