You need to handle the case were blogs is empty