Fix case of single value

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>