fixing bug with auto select dropdown for revisions