Fixed indexing for "inLoadType" jpg / jpeg

Haven't tested this, but it seems logical