Fixed view constructor bug. Submit to Paperless-2