Fixed unnecessary nesting of arrays in Memorial function