Don't record changes to subjects if there's no real change

Bug: 49311
Change-Id: I82c4ce875aebec5493348e0d65e1ffdf3dcdd696
Merge "Don't record changes to subjects if there's no real change"