Check for operation parameters first before iterating