You have to put "YES" for that question. When you fill in the explanation box state exactly what happened. If it is clearly stated the recruiter will understand your situation.
Do not lie on your application. They can terminate you at any time if they find out you lied. Remember to be honest on all parts of your application.