Wraps call in if block to account for nils.