Added check to ensure even and odd aren't being generated