Bug Fix: #9 (Cache relationship inconsistency when using inheritance)