Fixed sector infinite loop bug for once and all!