fixes #2066. Integer IDs are no longer converted into doubles.