mark retired securities in the right rail fixes #803