BF: fix order of index subject, condition to slice data in format_matrix