BZ-1031306: fixing NPE for puzzle HARD 4
(cherry picked from commit f484767968756265855cbbfc04ad098a5d6c915b)