fix: protect from None if security_days is zero