Fixes issue when id is assumed to be a string