ID cards bugfix.

- Fixed #2430.