Fix data relation not working for custom Guids

A proper fix will be done to allow data relations not being ObjectId enforced.