fixes #7543 fix altered name and altered by in log detail
fixes #7540 rework how we account for field present in SELECT when filtering (via HAVING); do not make fields required
Merge branch 'dev' into test