Removed the bug due to which a stone was allowed to be placed on a previously placed one