Add null check for woods & golds calculation