Changed serial 'if's to if...else in the block_solved functions.