Thanks all. Have used a combination of cleaning the inside edges very thoroughly and sanding them, a PVA-based compound which is meant to be flexible, topped by a wood filler. I'll let you know in 6 months if its still there. !
And yes it would have probably been easier to move all the...