tests for issue with failing local query on inheritance entities