don't show conditions heading if there are no conditions
fix bug with blank compare type