Fix for preview function in Blogs module.