Query based on eq() stopped working for one predicate

And one more thing, replacing eq with regexp like below solves the problem, but this is rather a hack

{
  result(func: eq(assetState,"submitted"), first: 10) @filter(regexp(nodeType,/^rule$/i)) {
    uid 
    staticId
    nodeType
    name
    assetState
  }
}