Prevent saving duplicated earned credits.