Add adjusted guard to decode_value for type 2.
Add adjusted guard to decode_value for type 2.

Signed-off-by: Tuncer Ayaz <0bb14fc58da65081d0cb1348cd128d0459f603ba@gmail.com>

eliast/mongo-erlang-driver