Fixed bug that made ids fail.