*Fix bug with null diff

Signed-off-by: RxCompile <rxcompile@gmail.com>