Cache keys must be created always with parent column names but values
are taken for current record, thay may be a parent or a child
Removing unused code