proper persistent constraint on persistent-mongoDB