Bugfixed nondeterministic behavior of determine_q_tare