Changes to 5 + 1 lottery input type and fixes bugs related to the change