Fix mantis issue #8826
Fix test
Use signed int for quest progress