Fixing rail container allocation.