Fixed negative order in searches
Fixed broken test