Fixed bug where the number of credits were being added as strings in rule C