FIX: Fixed new project validation issue

Fixed a validation bug where a new project created in the addproject
template would fail the validation process because of:
 * a missing casting operation on the amount validation
 * a validation on unassigned variables