An investigation of the consistency of the ionospheric measurements of the photoelectron flux and solar EUV flux