Patch view_unpublished

See https://drupal.org/node/1857656