Removed test code

Removed test code that prevented the max id from being updated.