OSD: fix query for ec pgs

Signed-off-by: Samuel Just <sam.just@inktank.com>
PGLog: test for missing using the correct shard value

Signed-off-by: Samuel Just <sam.just@inktank.com>