Fixes a bug introduced in #11417 where we would only included backfilled events in `synapse_event_persisted_position`