This appeared to work, but the linked commit seems to suggest a `.to_s` here would be wise.