Cached boolean values from while loops to properly return