Performance optimisation in fetch_all_by_feature_class method. Contributed by Shiran Pasternak at CSHL