MID-1993 - fix for typo in code, that was causing this issue.