Fix bug where many entries were being incorrectly rejected