Fixed secondary key lookup query building in mysql such that multi-param queries don't trigger a secondary lookup. v0.6.05