Cleanup mineshaft nextComponents logic

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>