Fix uniqueness validation for inherited models.
Expanding the query cache keys with limit, skip and fields
Merge branch 'fix/query-cache'