Fix parseDetails erroring when passed nil details