Supports more sequences for sg_parent

In addition to adding several sequences, this also has a fallback (using rescue) to skip over the join model if there's one between this model and the parent sequence.
[#45609997]
Merge branch 'master' into production