Fixes 0000535 - incorrect module enabled check.