Efficient Trajectory Library Filtering for Quadrotor Flight in Unknown Environments