fix for sqlite scope issue on PiggybakVariants::Variant