DNN-5943 - Fixed some issue with DAL 2