Added defensive code to detect if combination of from to command and due command is used together