fix configure order calculation - bz1008609
Handle categories not used