Add eval to trap fatal on scrip condition lookup when the condition id is 0.
Merge branch '4.0/trap-scripcondition-on-db-upgrade' into 4.0-trunk