Made dysfunctional configuration elements return -1.

Made conf_section work correctly.