Fixing estimation_for endpoint for shared tables