Adding a check for XSLT style object status, this fix the condition that