RavenDB-2458 Custom functions now work also on server-side