Normally, at this northern latitude, Merlins have just arrived back on territory at this time of year. They are very active just prior to laying. A Predator's hatching of young is timed to the vulnerable young of the prey species.
I suspect that what you witnessed was either a pair-bonding flight or a more - "pure" courtship one.