Fixed a bug where summary directives wasn't setting show-type correctly.