Adaptive Quotient Filters: How to Learn from Your Mistakes