Includes defensive ignoring of incompatible aspect types. Closes gh-32970 (cherry picked from commit 0ea96b4806)
0ea96b4806