Added check if address book is empty
Damn those off by one errors