Carts: Fix the rail table overwrite behaviour