Fix for #33: sync of collections with a function as URL

calling for "result" was missing in two methods