Fixed parsing of multiple shifts