Fixed schedule element completion flag error