You must write YES. If you hide the truth it is misrepresentation and may leads to rejection of your application depending on the visa officer who takes care of your file. Kindly see Q3 (FAQ) of my recent Topic on Background verification. Similar scenario is mentioned there...