Its a bootstrap condition thing. I've run into this a few times, but I cant recall how I fixed it exactly. I think you need to create a bootstrap condition to check for your class level and then run it at no later than First/500 on the bootstrap condition.
For more details see:
Hero Lab Scripting 401: Bootstrap Conditions