Store max id in DataStore. Fixes #201