Fixing bug in min bar percent