Issue #1831808 by marcingy: move remaining file managed queries into field database entity storage controller.