Fixed a bug where the Content Spec Text returned was incorrect.
Moved the fixFailedContentSpec() method to the Content Spec commons library.
Reverted changes to the fixFailedContentSpec() method.