Remove the possibility of accidentally matching .jpg with .jp