fixed bug in motif_chain_task for level 2 solutions