All corner cases for any() tested and fixed