It's a bug probably. there was a fix around that at some point as I remember. If you are still seeing it with the latest version you have to provide a testcase to the developers and we would gladly fix it. I'm speaking here as one of the developers.
But first check if you are on the latest version. (2.3.0+ or 2.4.0 beta), or any latest EAP version.