Fix bug that filtered all images out