Fix nested requirements