PDI-9844 Database Value Lookup step not mapping return value correctly w...

...hen used twice.

Contains the fix and the unit test