Fixed a nasty bug - SIM edit went nuts.