Fix giving an error if we are given conflicting mode flags