Fixed swift data bag search throwing exception when swift is not deployed