Fixes issue with logs that were getting all data instead of restricting for a single user.