Fixed bug causing the last changed id and name to be undefined