Do not call std find on empty containers anymore and fixed accessing of already released object.
Do not call std find on empty containers anymore and fixed accessing of already released object.

danielknorr/MITK,iwegner/MITK,MITK/MITK,RabadanLab/MITKats,fmilano/mitk,danielknorr/MITK,NifTK/MITK,fmilano/mitk,MITK/MITK,danielknorr/MITK,RabadanLab/MITKats,RabadanLab/MITKats,fmilano/mitk,fmilano/mitk,RabadanLab/MITKats,MITK/MITK,iwegner/MITK,iwegner/MITK,iwegner/MITK,iwegner/MITK,fmilano/mitk,danielknorr/MITK,iwegner/MITK,danielknorr/MITK,NifTK/MITK,NifTK/MITK,fmilano/mitk,MITK/MITK,RabadanLab/MITKats,MITK/MITK,NifTK/MITK,fmilano/mitk,danielknorr/MITK,NifTK/MITK,MITK/MITK,NifTK/MITK,danielknorr/MITK,RabadanLab/MITKats