Updated nextepisode function to only perform db calls when nextaired date has been reached.