Restore the destroy_by_association check in post destroy counter cache