Resolved,
I deleted the ost file and the problem is fixed.
I probably could have ran scanpst.exe on it, but it was small so I deleted it and re-opened outlook to recreate the new offline file.
I still don't know what caused it, but if it happens again I'll put some more effort into finding out.