Fixed bug where invalid puzzle was being selected.