[FIX] getUserShareDifficulty must return 0 on NULL