Updated logic to avoid dividing by zero
Ticked the release version up onw