Thanks to Fred, all sorted now.