Record Type Query

When we try to pass values  queried through entity based expression rule to value field field of record type query filter it fails. How to make it working?

I have checked in both cases for querying data  same set of list of integer is returned but it fails for query entity

  Discussion posts and replies are publicly visible