be more lenient in correct error detection

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #131 from alfredodeza/6750

be more lenient in correct error detection