Fixed metadata search so 'title' has no trailing line-return