Fixed the limit clause in expired search deletion.