Add a ternary to return 0 if needs be.