Core pr 5

Minor bug fixes.
Ticket have been create with this issue, as it's outside the scope given to this review: http://platform.dandigbib.org/issues/649