Moti does not live in the harem, at least that is what is to be gleaned from the last couple of episodes. When Moti is asked what she was doing in the harem, Moti says she wandered in by mistake and wanted to check out/see the harem, implying she has never before set foot in the harem. When Jalal is seatching for the man that entered the harem, Jodha tells Moti "lets go back" further lending credence to the fact that neither Jodha nor Moti are regulars in the harem.
So if Moti does not frequent the harem, in fact has never before entered the harem, why would the poor shepherd man, an unlikely suitor, come looking for Moti inside the harem? Doesn't Jalal know that Moti is a stranger to the harem so the shepherd couldn't have been there because of Moti? Did Maham Anga forget this little fact when she had Resham insert that insidious note around the dead man's waist?