reports: fixed problem with missing optional templates