fixed  Issue 1519:MongoDB fails when inserting list:reference values, thanks Alan