Fix change detection to support formsets and admin inlines.