Removed unnecessary variable.
Fixed NPE in when saving a null-LogEntry to the action log metaset.