Fix "no result" bug