Making fk lookups optional when invalidating objects