Delete expired loans only if the book is not checkedout.