Improving error messages and fixing removeAllNodesFromRequisition()