Original: They were buried under the names Anastasia and Maria Nikolaevna.
Simplified: They were buried with the names Anastasia and Maria Nikolaevna.