Fix AE crash with storage bus and gregtech machines

Signed-off-by: Ross Allan <rallanpcl@gmail.com>