Bugfix: some in-memory searching routines were broken (rev. 11)

Signed-off-by: nixnodes <code@eth.si>
Latest: v0.9-11_RC1

Signed-off-by: nixnodes <code@eth.si>