Added a flag to the Requirement class to check if it's deleted