Make sure inventory flag is cleared after solving the puzzle