rosie db: fix failure for no-opt-props suite.

This fixes a search or query processing error when the results contain
a suite with no optional properties at all (i.e. just owner, project,
and title).

@matthewrmshin, please review.