Hotfix for logic around logging

Change logic around whether to log call or not and store in history