Use equality instead of identity for checking international train numbers