mc: Fix crash on search after scroll

Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>