Trying to fix miniatures helper bug