Database filtering strategies for experience-based motion planning