title: SQLite database cursor always returns 0 even though the table is filled correctly
body: <p>I have saved data in table PollCollection(PollID, PollName, VotingClass) and OptionCollection(OptionID, PollID, Option). I have a class called Poll, in which string PollTitle and LinkedList option can be saved (and others). I read my first PollName from PollCollection with appropriate VotingClass and then try to read Option from OptionCollection where PollID = PollCollection.PollID. However, my options cursor has a length of 0.</p>
  
  <p>I know for a fact that the OptionCollection is saved properly, because in another piece of code I managed to run a select * query and printed all the appropriate values. At this point, I have no idea what am I missing. Also, I am working with Xamarin Android.</p>
  
  <pre><code>string pollquery = "";
          string optionsquery = "";
          pollquery = string.Format("select * from PollCollection where PollCollection.VotingClass = '{0}'", userclass);
          ICursor polls = MainActivity.sqlitedb.RawQuery(pollquery, null);
          if (polls.Count &gt; 0)
          {
              polls.MoveToFirst();
              do
              {
                  Poll currentpoll = new Poll();
                  currentpoll.PollTitle = polls.GetString(polls.GetColumnIndex("PollName"));
                  string pollid = polls.GetString(polls.GetColumnIndex("PollID"));
                  optionsquery = string.Format("select Option from OptionCollection where OptionCollection.PollID = '{0}'", pollid);
                  ICursor options = MainActivity.sqlitedb.RawQuery(optionsquery, new string[] { });
                  options.MoveToFirst();
                  do
                  {
                      currentpoll.Options.AddLast(options.GetString(options.GetColumnIndex("Option")));
                  } while(options.MoveToNext());
                  polllist.AddLast(currentpoll);
              } while (polls.MoveToNext());
          }  
  </code></pre>