Skip over empty entries in solve loop