Fix support for deriving Generic1 for data families (FIX #9563)

(cherry picked from commit 946cbcefab9bc02e12b741e5b070d7521b37ba1a)