Added support for compound keys in view queries.