Fixed half-credit bug.