fix db_for_read for SphinxModel objects