Good catch, but this is expected behavior in nftables versions < v1.0.9 and it should still work. Starting from version v1.0.9, [invalid type] will no longer be displayed.
Read here: