fix study analysis when chapter starts with black pieces - closes #4639
fix study analysis when chapter starts with black pieces - closes #4639

luanlv/lila,arex1337/lila,arex1337/lila,luanlv/lila,arex1337/lila,luanlv/lila,arex1337/lila,arex1337/lila,luanlv/lila,luanlv/lila,luanlv/lila,arex1337/lila,arex1337/lila,luanlv/lila