Fix versioning and clear preview when browsing to other folders