You're comparing these to the block meta, so it is the meta. Move it to BlockID, then, and rename properly (E_META_RAIL_XXX)