Bug fix for strand determination