Fixed issue caused by returning an iterator =>  bool(iterator) is Truee even if the iterator doesn't yield anything which is not compatible with bool(QuerySet)