Fixed volume comparison error