Fix block finding when sd is removed