PM rules doesn't handle sender properly fixes #1212