Checks if ID and Edges are positive integers