simplified relevency check, added check for 0 results