Ensure ids of resulting records are integers.