Fix bug with not being able to remove parsed dependency.