Check if the operation mode was correctly set