Fixes issue #326 - Argument Constraints should support derived types as Type Arguments
Fixed build error - wrap if statement in curly brackets
Refactored out 'if block' into just one return statement
Merge pull request #331 from FUR10N/fixesIssue326

Fixes issue #326 - Argument Constraints should support derived types as Type Arguments