I have just realised that Realm Function treats arguments differently. If you have only one parameter sent, the Realm Functions treats the paraments as an Array. However, if you send more than 1 parameter, you can simply access the members as a coma separates argument.
One Argument => export = function(ThisArgIsTreatedLikeAnArray)
2+ Arguments => export = function(thisIsTreatedAsArgOne, thisIsTreatedAsArgTwo)
This really caught me off guard as I was trying to insert the first argument and the insert failed. I am not sure if this is a bug or by design, but one thing is that it is not consistent.