Attempting to fix odd bug appearing in the logs