Minor SQL bug fixed

Show the correct amount of credits for all the projects.