Applying query plan to feature cursor, fixes #2.