Add missing require so Project is resolved
Skip project versions with no due date or that are closed
Fix variable name