I also ran into this issue (in 4.x). Here's a test against 5.0.5.FINAL that reproduces it. hhh-9754_5.0.5.FINAL.zip