Fixed potential bug. By logic, it isn't correct.