Fix for issue #534 - Doctrine AnnotationException on note