Added conditional to check that item has a bitstream field before trying to adjust it in views prerender. Previous assumption was that every DSpace item would have a bitstream but that is not necessarily true so this avoids no index found errors.