Fixed erroneous contract and simplified code.
Fixed erroneous contract and simplified code.

bsmr-erlang/wrangler,arcusfelis/wrangler,andrzejsliwa/wrangler,prowessproject/wrangler,arcusfelis/wrangler,tdb/wrangler