Fixed a non-trivial bug in loading the Q-values