Updated to set Activity to 0 if it is less than 1