Diagrammed Assertion fix

-Fixed DiagrammedAssertions when used with code block.
-Added the correct way to detect for by-name parameter, thanks to Jason Zaugg.