search works, but limiting matches does not