SONATA-291 - Changing getImage algorithm in order to return first media by position