Errors with integer and ordinals