Error with dynamic asset paths when using Matrix blocks within Supertable

Was getting the error could not resolve the path owner.slug.

I had a matrix field containing a Supertable containing a Matrix field containing an assets field. To get this working use this for the dynamic folder name in the assets field: