Reverted the sql mapping, as the problem seems to be with the data and not the mapping