Fix bug in limit in From class