Fix attachment revpos values