Fix #4914 by ignoring hidden annotation
Merge pull request #4915 from dferer/fix-4914

Fix #4914