Go to Messages, then the "more" in the upper right, then "settings", then "more settings", and then unselect "delete old messages". I haven't reached that number yet I don't think, but I presume that that would take care of it for you.
Sent from my SM-G935T using XDA-Developers mobile app