Fixed a bug in the ContentSpec query method that was causing it to return all content specs.
Fixed a bug where the invalid revisions would throw a hibernate error instead of a NotFoundException