Welcome to KH!!
You might want to try knitting the row before you change the ks and ps a little tighter there...they may be to lose because of the row below...
eta: it might also be that your tension with purling is different from the knitting causing the lose stitches...