TechTree fix

Needed to check whether the PrereqTech is NULL.