Fixed issue where templates without contenttype did not show up in export dialog