I've got the same, if you take Thermal Foundation ingots and make them into blocks, they're changing into railcraft version, there is possibility to change them into TF block with chisel, but changing into ingots again make them railcraft version. The only way is to change them into TF version...