Fix for issue with invoice search (for delaying)