Fixed a random null pointer exception relating to a parent requirement.