Fix NPE (when no previous value)

Signed-off-by: L5D <L5D@L5D-PC>