Issue #2788209 by amateescu, Berdir: Entity reference field "Autocomplete matching: Starts with" option does not work (cherry picked from commit f0d2de33)