Stop rail dup bug attempt #1
Add Intangir's rail dup fix