Check for nil depth