Ensure working id is an integer