[SP-487] Backport for PDI-2753

PDI-2753 validation failing in "Get sequence value from database" step
Merge pull request #180 from askdzmitry/SP-487

[SP-487] Backport for PDI-2753