Fixed sql ambiguous column error in ScopedBy extension.  Was erroring when joining file_assets tables