Closes #23232 And fix DB errors related to repeat min/max for quest rewarded and quest accepted (cherry picked from commit 1c067b3221d956a1fe7106aad6aaaf1d1a381899)
Closes #23232 And fix DB errors related to repeat min/max for quest rewarded and quest accepted (cherry picked from commit 1c067b3221d956a1fe7106aad6aaaf1d1a381899)