history.back() fix to work properly with delete annotation