I was unable to reproduce the error you describe. However, I attached a sample project that uses your code snippets and demonstrates how it works. Could you please modify the attached project in order to reproduce the issue ?
We are looking forward to your reply.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.