Fixed different signedness in comparison; improved config