Fixed minor bug in the script

Removed to many of the candidates. However, script seems to behave like
before
Fixed indet