DB/Quest: Fix quest credit for the first trial

By dr-j, closes #12600