Modified tabs option extraction logic