Minor logic cleanup for obsid handling