The back end now retrieves the correct revision from the database. Retur...

...ns the element which has the id that is passed in, not the one where the index is the id.