This has been fixed https://github.com/jbossas/jboss-as/commit/36427b02bcf751c12f860f72f878d5a7b3749b32 and should be available in latest AS7 nightly build.
Reply to this message by going to Community
Start a new discussion in JBoss AS Documentation at Community