title: Data that is not found is not triggering the function
body: <pre><code>const Discord = require("discord.js");
  const mongoose = require("mongoose");
  const roblox = require("noblox.js");
  const RobloxDB = require("../models/roblox.js");
  const ModLogDB = require("../models/modlog.js");
  
      ModLogDB.find({
          offenderID:ID 
      },(err,data)=&gt;{
          if(err) console.log(err);
          if(data){
              var TotalActions = 0
              data.forEach(Act=&gt;{
                  if(TotalActions &gt;= 5){
                    return;
                  }
                  TotalActions = TotalActions + 1
                  message.channel.send("**Sanction Type:** ${Act.sanctionType} | **Sanction ID:** ${Act.sanctionID} - **Sanction Reason:** ${Act.sanctionReason}")
              })
  
          }        
          if(!data){
              message.channel.send("**History Clear** - There are no records for that user!")
              return;
          }
  
      })
  </code></pre>
  
  <p>The part of the code where <code>if(!data)</code> the message is not sending.
  I have logged from where it says console.log and have also logged the data not found area and have found that the no data found side is not printing, why might this be?</p>