Fixes #237 by trimming flash scope keys, per @ndintenfass