Fix empty constraint considered as "*" constraint