Fix beans xml scanning