Fixed issue #2907. Created OFetchPlan object