Fixed issue with indexes breaking advanced find.