Test that flattened queries are shifted correctly
Fix problem with shifting flattened data
Merge pull request #351 from alphagov/fix-flattened-shifting

Fix problem with shifting flattened data