Fix version_status() helper handling of deleted versions (bug 899582)