corrected #all? method to work with ranges